#include <REGX52.H>
#include "LCD1602.h"
#include "Delay.h"

void main()
{
	LCD_Init();
	LCD_ShowChar(1,1,'a');
	LCD_ShowString(2,1,"abc");
	LCD_ShowNum(1,2,67,2);
	LCD_ShowSignedNum(1,5,-6,1);
	LCD_ShowHexNum(1,8,15,1);
	LCD_ShowBinNum(2,5,6,8);
	LCD_ShowChar(2,14,0xDF);
	LCD_ShowChar(2,15,'C');
	LCD_ShowString(2,16,"Have a nice day!");

	while(1)
	{
		LCD_WriteCommand(0x18);
		Delay(500);
	}
}